<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    body{
      min-width:320px;
      max-width:540px;
      margin: 0 auto;
    }
    header{
      width:100%;
      height:100px;
    }
    header img{
      width:100%;
      height:100%;
    }
    nav {
      padding:5px;
    }
    .row {
      width:100%;
      height:90px;
      border-radius:5px;
      background-color:#ff697a;
      display: flex;
      margin-bottom:5px;
    }
    nav .row:nth-child(2){
      background-color: #3d98ff;
    }
    nav .row:nth-child(3){
      background-color: #44c522;
    }
    nav .row:nth-child(4){
      background-color: #fc9720;
    }
    .row div{
      flex: 1;
    }
    .row div:nth-child(2){
      border-left:1px solid #fff;
      border-right:1px solid #fff;
    }
    .hotel {
      display: flex;
      flex-direction:column;
    }
    .hotel a{
      flex: 1;
      text-decoration: none;
      line-height: 45px;
      color:#fff;
      text-align: center;
      text-shadow: 0 2px  1px rgba(0,0,0,.3);
    }
    .hotel a:nth-child(1){
      border-bottom: 1px solid #fff;
    }

  </style>
</head>
<body>
  <header>
    <img src="./images/ctrip.jpg" alt="">
  </header>
  <nav>
    <div class="row">
      <div class="row_item ">1</div>
      <div class="row_item hotel">
        <a href="#">海外酒店</a>
        <a href="#">特价酒店</a>
      </div>
      <div class="row_item hotel">
        <a href="#">团购</a>
        <a href="#">客栈</a>
      </div>
    </div>
    <div class="row">
      <div class="row_item ">1</div>
      <div class="row_item hotel">
        <a href="#">海外酒店</a>
        <a href="#">特价酒店</a>
      </div>
      <div class="row_item hotel">
        <a href="#">团购</a>
        <a href="#">客栈</a>
      </div>
    </div>
    <div class="row">
      <div class="row_item ">1</div>
      <div class="row_item hotel">
        <a href="#">海外酒店</a>
        <a href="#">特价酒店</a>
      </div>
      <div class="row_item hotel">
        <a href="#">团购</a>
        <a href="#">客栈</a>
      </div>
    </div>
    <div class="row">
      <div class="row_item hotel">
        <a href="#">海外酒店</a>
        <a href="#">特价酒店</a>
      </div>
      <div class="row_item hotel">
        <a href="#">海外酒店</a>
        <a href="#">特价酒店</a>
      </div>
      <div class="row_item hotel">
        <a href="#">团购</a>
        <a href="#">客栈</a>
      </div>
    </div>
    
  </nav>
</body>
</html>